package com.ruoyi.outbound.dataBackhaul.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 发货通知单对象 consignment
 *
 * @author zzx
 * @date 2024-02-07
 */
public class DataBackhaul extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 发货通知单编码 */
    private String consignmentId;

    /** 出库类型 */
    @Excel(name = "出库类型")
    private String types;

    /** 销售订单号 */
    @Excel(name = "销售订单号")
    private String clientOrderNumber;

    /** 单据日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "单据日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date outboundDate;

    /** 客户 */
    @Excel(name = "客户")
    private String clientName;

    /** 产品编码 */
    @Excel(name = "产品编码")
    private String productId;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String productName;

    /** 颜色 */
    @Excel(name = "颜色")
    private String colour;

    /** 出货仓库 */
    @Excel(name = "出货仓库")
    private String warehouseId;


    /** 出库数量 */
    @Excel(name = "出库数量")
    private Long weekdayed;
    /** 规格型号 */
    @Excel(name = "规格型号")
    private String specifications;

    /** 客户型号 */
    @Excel(name = "客户型号")
    private String customerModel;
    //同步状态
    private Long synchState;
    //入库单号
    private String warehousingId;
    //云星空单号
    private String skyCoding;
    private String containerNumber;

    public String getContainerNumber() {
        return containerNumber;
    }

    public void setContainerNumber(String containerNumber) {
        this.containerNumber = containerNumber;
    }

    public String getWarehousingId() {
        return warehousingId;
    }

    public void setWarehousingId(String warehousingId) {
        this.warehousingId = warehousingId;
    }

    public String getSkyCoding() {
        return skyCoding;
    }

    public void setSkyCoding(String skyCoding) {
        this.skyCoding = skyCoding;
    }

    public void setConsignmentId(String consignmentId)
    {
        this.consignmentId = consignmentId;
    }

    public String getConsignmentId()
    {
        return consignmentId;
    }
    public void setTypes(String types)
    {
        this.types = types;
    }

    public String getTypes()
    {
        return types;
    }
    public void setClientOrderNumber(String clientOrderNumber)
    {
        this.clientOrderNumber = clientOrderNumber;
    }

    public String getClientOrderNumber()
    {
        return clientOrderNumber;
    }
    public void setOutboundDate(Date date)
    {
        this.outboundDate = date;
    }

    public Date getOutboundDate()
    {
        return outboundDate;
    }
    public void setClientName(String clientName)
    {
        this.clientName = clientName;
    }

    public String getClientName()
    {
        return clientName;
    }
    public void setProductId(String productId)
    {
        this.productId = productId;
    }

    public String getProductId()
    {
        return productId;
    }
    public void setProductName(String productName)
    {
        this.productName = productName;
    }

    public String getProductName()
    {
        return productName;
    }
    public void setColour(String color)
    {
        this.colour = color;
    }

    public String getColour()
    {
        return colour;
    }
    public void setWarehouseId(String warehouseId)
    {
        this.warehouseId = warehouseId;
    }

    public String getWarehouseId()
    {
        return warehouseId;
    }
   void setWeekdayed(Long weekdayed)
    {
        this.weekdayed = weekdayed;
    }

    public Long getWeekdayed()
    {
        return weekdayed;
    }

    public String getSpecifications() {
        return specifications;
    }

    public void setSpecifications(String specifications) {
        this.specifications = specifications;
    }

    public String getCustomerModel() {
        return customerModel;
    }

    public void setCustomerModel(String customerModel) {
        this.customerModel = customerModel;
    }

    public Long getSynchState() {
        return synchState;
    }

    public void setSynchState(Long synchState) {
        this.synchState = synchState;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("consignmentId", getConsignmentId())
                .append("types", getTypes())
                .append("clientOrderNumber", getClientOrderNumber())
                .append("date", getOutboundDate())
                .append("clientName", getClientName())
                .append("productId", getProductId())
                .append("productName", getProductName())
                .append("color", getColour())
                .append("warehouseId", getWarehouseId())
                .append("quantityShipped", getWeekdayed())
                .append("remark", getRemark())
                .toString();
    }
}
